import Vuex from 'vuex'
// import loginSms from './loginSms'
// import userInfo from './userInfo'
import user from './user'
import sign from './sign'
// import total from './total'
import Vue from 'vue'

Vue.use(Vuex)
export default new Vuex.Store({
	modules: {
		user,
		sign
		// userInfo,
		// loginSms
	},
	getters: {
		// showInfo: (state) => state.userInfo.showInfo,
		// infoData: (state) => state.userInfo.infoData,
		// infoFormData: (state) => state.userInfo.infoFormData,
		token: (state) => state.user.token,
		userInfo: (state) => state.user.userInfo,
		signInfo: (state) => state.sign.info
		// wait: (state) => state.loginSms.wait,
		// total: (state) => state.user.total
	}
})
